<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
if(request.getAttribute("result")!=null){
	if(request.getAttribute("result").equals("ok")){
	%>
		<script>alert("提交成功");location='/ryzlList.do?cs=&shzt='</script>
	<%
	}else{
	%>
		<script>alert("提交失败");</script>
	<%
	}
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
  <head>
    
    <title>人员资料</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<script>
function SubmitForm(){

	return true;
}

function openwindow(str)
{
  window.open("doTree.jsp?sid="+str+"&pd=","部门","height=380,width=260,top=230,left=250,scrollbars=yes"); 
   //showModalDialog("doTree.jsp","部门","height=380,width=260,top=230,left=250,scrollbars=yes");
}
</script>
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
  </head>
  
  <body>
    <script type="text/javascript" src="js/checkname.js"></script>
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<table class="TableTop" width="100%">
   <tbody><tr>
      <td class="left"></td>
      <td class="center subject">
         人员资料</td>
      <td class="right"></td>
   </tr>
</tbody></table>
<form action="ryzlEdit.do" method="post" id="form1" name="form1" onSubmit="return SubmitForm();"  enctype="multipart/form-data">
<input id="id" name="id" value="${ryzl.id}" type="hidden"/>
<input id="addTime" name="addTime" value="${ryzl.addTime}" type="hidden"/>
<input type="hidden" name="dlyhid" id="dlyhid" value="${ryzl.dlyh.id }" />
<table class="TableBlock no-top-border" id="table1" width="100%" align="center">
    <tbody><tr>
      <td width="100" valign="bottom" nowrap="nowrap" class="TableData">人员编号：</td>
      <td width="160" valign="bottom" class="TableData">${ryzl.bh}</td>
      <td width="120" align="center" valign="bottom" class="TableData"> 照片</td>
      <td valign="bottom" class="TableData"><br />
      <img id="userPicImg" name="userPicImg" src="${ryzl.zp}<c:if test="${ryzl.zp==null}">images/pic.jpg</c:if>" width="94" height="136" />
        </td>
    </tr>
    </tbody><tbody id="tr_webmail" style="display: none;">
   </tbody>
    <tbody>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">姓名：</td>
        <td class="TableData"> ${ryzl.xm}</td>
        <td class="TableData">性别：</td>
        <td class="TableData">${ryzl.xb}</td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">出生日期：</td>
        <td class="TableData">${ryzl.csrqString}</td>
        <td class="TableData">参加工作日期：<br/>
          参加计生工作日期：</td>
        <td class="TableData">${ryzl.cjgzrqString}
        <br/>
        ${ryzl.cjjsgzrqString}</td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">婚姻状况：</td>
        <td class="TableData">${ryzl.hyzk}</td>
        <td class="TableData">政治面貌：</td>
        <td class="TableData">${ryzl.zzmm}</td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">民族：</td>
        <td class="TableData">${ryzl.mz}</td>
        <td class="TableData">籍贯：</td>
        <td class="TableData">${ryzl.jg}</td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">学历：</td>
        <td class="TableData">${ryzl.xl}</td>
        <td class="TableData">专业：</td>
        <td class="TableData">${ryzl.zy}</td>
      </tr>
      <tr>
        <td class="TableData" valign="top" nowrap="nowrap">毕业院校：</td>
        <td class="TableData">${ryzl.byyx}</td>
        <td class="TableData">联系地址：</td>
        <td class="TableData">${ryzl.lxdz}</td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">离职时间：</td>
        <td class="TableData">${ryzl.lzsjString}</td>
        <td class="TableData">身份证号：</td>
        <td class="TableData"> ${ryzl.sfzh}</td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">联系电话：</td>
        <td class="TableData">${ryzl.lxdh}</td>
        <td class="TableData">基本工资：</td>
        <td class="TableData">${ryzl.jbgz}</td>
      </tr>
      <tr>
      <td colspan="4" nowrap="nowrap" class="TableData" align="left">
      
      <%Dlyh dlyh = (Dlyh)request.getSession().getAttribute("dlyh");
      System.out.println(dlyh.getSfzz()+"  "+dlyh.getDlyhmm()+"  "+dlyh.getZd().getTypename()+"********");
       %>
        部门：&nbsp;&nbsp;&nbsp;${ryzl.zdByBmbh.zdqc}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          　职务：&nbsp; ${ryzl.zdByZwbh.typename}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          　职称：&nbsp;&nbsp;${ryzl.zdByZcbh.zdqc}&nbsp;&nbsp;${ryzl.zdByZcbh.typename}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          岗位等级：&nbsp;&nbsp;${ryzl.gwdj }
          
         </td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">人员属性：</td>
        <td class="TableData">${ryzl.rysx}<br/>
          <c:if test="${ryzl.rysx=='村/社区育龄妇女小组长'}">分管育龄妇女数:${ryzl.fgfns}</c:if>
        </td>
        <td class="TableData">合同期限：</td>
        <td class="TableData">${ryzl.htqxString}至${ryzl.htqx2String}</td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">工作状态：</td>
        <td colspan="3" class="TableData">${ryzl.gzzt }</td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">个人简历：</td>
        <td colspan="3" class="TableData">${ryzl.grjl}</td>
      </tr>
      <tr>
        <td class="TableData" nowrap="nowrap">备注：</td>
        <td colspan="3" class="TableData">${ryzl.bz}</td>
      </tr>
       <tr>
	        <td class="TableData" nowrap="nowrap">审核状态：</td>
	        <td colspan="3" class="TableData">${ryzl.shzt}</td>
	      </tr>
	      
	      <tr>
        <td class="TableData" nowrap="nowrap">附件：</td>
	        <td colspan="3" class="TableData">${ryzl.fj }
	       </td>
	      </tr>
    <tr class="TableControl" align="center">
      <td colspan="4" nowrap="nowrap">
        <input id="btn_submit" value="返回" class="BigButtonB"  type="button" onClick="history.back();" /></td>
    </tr>
    
  </tbody></table>
</form>
<script type="text/javascript">
  function OpenWord(id){
  location.href="ryzlGet.do?id="+id+"&sid=1";
} 
</script>

  </body>
</html>
